<style>
	#add_Rule_form input , #modify_Rule_form input{
		width:200px;
	}
	#modify_Rule_form select,#add_Rule_form select {
		width:95px;
	}
	#add_Rule_form td ,#modify_Rule_form td{
		height: 30px;
	}
</style>
<!-- 工具栏 -->
<div id="tool-rule">    
<table>
    <tr>
        <td>
            <a href="#" id="aaa1" class="easyui-linkbutton" onclick='show_add_cj()' data-options="iconCls:'icon-standard-folder-add',plain:true">新建车间</a>
            <a href="#" id="aaa1" class="easyui-linkbutton" onclick='show_add_gw()' data-options="iconCls:'icon-standard-folder-page',plain:true">新建班组、工位</a>
            <a href="#" id="aaa1" class="easyui-linkbutton" onclick='del_cj()' data-options="iconCls:'icon-standard-page-white-delete',plain:true">删除</a>
            <a href="#" id="aaa1" class="easyui-linkbutton" onclick='show_modify_cj()' data-options="iconCls:'icon-standard-application-edit',plain:true">修改</a>
         
        </td>
    </tr>
</table>
</div>
<!-- 工具栏end -->
<!-- 新建菜单对话框 -->
<div id="add_cj_dialog" class="easyui-dialog" style="width:320px; height: 125px; padding: 10px 50px; overflow: hidden;" title="新建工位" data-options="iconCls:'icon-standard-folder-page',buttons:'#add_cj_tool',closed:true,resizable:false,modal:true,closable:true">
	<form id="add_cj_form" method="post">
	<input type="hidden" id="pid" name="pid"/>
	    	<table cellpadding="5">
	    		<tr>
	    			<td>名称:</td>
	    			<td><input class="easyui-textbox" type="text" id="title" name="title" data-options="required:true,prompt:'请输入车间、班组、工位名称'"  /></td>
	    		</tr>		    		
	    	</table>
	    </form>

</div>
<div id="add_cj_tool">
	<div class="tool_tip">添加后会在列表中出现！！</div>
	<a href="#" id="addok" class="easyui-linkbutton" data-options="iconCls:'icon-ok'"
		onclick="add_cj()">确认</a>
	<a href="#" class="easyui-linkbutton"
		data-options="iconCls:'icon-cancel'"
		onclick="javascript:$('#add_cj_dialog').dialog('close')">取消</a>
</div>
<!-- 新建菜单对话框 end-->

<!-- 修改菜单对话框 -->
<div id="modify_cj_dialog" class="easyui-dialog" style="width:307px; height: 131px; padding: 10px 50px; overflow: hidden;" title="修改工位" data-options="iconCls:'icon-standard-application-edit',buttons:'#modify_cj_tool',closed:true,resizable:false,modal:true,closable:true">
	<form id="modify_cj_form" method="post">
			<input type="hidden" id="id" name="id"/>
	    	<table cellpadding="5">
	    		<tr>
	    			<td>名称:</td>
	    			<td><input class="easyui-textbox" type="text" id="title" name="title" data-options="required:true,prompt:'请输入工位名称'"  /></td>
	    		</tr>
	    	</table>
	    </form>

</div>
<div id="modify_cj_tool">
	<div class="tool_tip">添加后会在列表中出现！！</div>
	<a href="#" id="modifyok" class="easyui-linkbutton" data-options="iconCls:'icon-ok'"
		onclick="modify_cj()">确认</a>
	<a href="#" class="easyui-linkbutton"
		data-options="iconCls:'icon-cancel'"
		onclick="javascript:$('#modify_cj_dialog').dialog('close')">取消</a>
</div>


	